import request from "@/utils/request";

// 本地商品列表
export function localList(query) {
  return request({
    url: "/commodity/localProduct/list",
    method: "get",
    params: query,
  });
}
//同步三方商品
export function synThird(query) {
  return request({
    url: "/commodity/localProduct/synThird",
    method: "put",
  });
}
//同步三方商品
export function getGoodsDetail(id) {
  return request({
    url: "/commodity/localProduct/" + id,
    method: "get",
  });
}
